Crate qp2p[][src]

Expand description

qp2p enables communication within a peer to peer network over the QUIC protocol.

Re-exports

pub use config::Config;
pub use config::ConfigError;
pub use config::RetryConfig;

Modules

Configuration for Endpoints.

Structs

A connection between two Endpoints.

Disconnection events, and the result that led to disconnection.

Endpoint instance which can be used to communicate with peers.

Channel on which incoming connections are notified on

Channel on which incoming messages can be listened to

An internal configuration error encountered by Endpoint connect methods.

The receiving API for a bidirectional QUIC stream.

The sending API for a QUIC stream.

Failed to (de)serialize message.

An opaque error code indicating a transport failure.

An error caused by an unsupported operation.

Failed to establish UPnP port forwarding.

Enums

The reason a connection was closed.

Errors that can cause connection loss.

Errors returned from Endpoint::new.

Errors that can occur when receiving messages.

Errors that can occur when performing an RPC operation.

Errors that can occur when sending messages.

Errors that can occur when interacting with streams.

Traits

An application-defined identifier for a connection.